package chenbi.renthouse.service;

import chenbi.renthouse.controller.dto.LoginDTO;
import chenbi.renthouse.controller.request.LoginRequest;
import chenbi.renthouse.controller.request.UserPageRequest;
import chenbi.renthouse.entity.User;

import java.util.List;

public interface IUserService {
    List<User> list();


    Object page(UserPageRequest userPageRequest);

    void save(User user);

    User getById(Integer id);

    void update(User user);

    void deleteById(Integer id);

    LoginDTO login(LoginRequest request);























}
